#ifndef  __PERSON_TYPE_H__
#define  __PERSON_TYPE_H__

#include "oop_common.h"
#include "oop_defines.h"

#define NAME_SIZE   20

typedef struct {
    char _name[NAME_SIZE];
    int  _age;
} Person_Data;

typedef struct {
    void (*_Say)(ObjectPtr, const char*);
    void (*_WorkForYear)(ObjectPtr);
} Person_Func;

#define TYPE_PARAM_LIST TYPE_PARAM_LIST_2(const char*, int)
CLASS_BASIC_INFO(Person);
#undef  TYPE_PARAM_LIST

#endif //__PERSON_TYPE_H__
